package com.demo.mappers;
import org.apache.ibatis.annotations.Param;



/**
 * @Description:心理自评结果表:mapper
 * @Date:2025-03-01
 * @author：author
*/
public interface AssessmentInfoMapper<T,P> extends BaseMapper {


	/**
	 * 根据AssessmentId查询
	 */
	 T selectByAssessmentId(@Param("assessmentId") Long assessmentId);

	/**
	 * 根据AssessmentId更新
	 */
	 Integer updateByAssessmentId(@Param("bean")T t, @Param("assessmentId") Long assessmentId);

	/**
	 * 根据AssessmentId删除
	 */
	 Integer deleteByAssessmentId(@Param("assessmentId") Long assessmentId);

}